import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

/**
 * Generated class for the MemberDetailsPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-member-details', 
  templateUrl: 'member-details.html',
})
export class MemberDetailsPage {
  //qq号码
  qqNumber: string;
  //姓名
  nickName: string;
  //班级
  class: string;
  //用户头像
  userImgUrl: string;
  constructor(public navCtrl: NavController, public navParams: NavParams) {

    this.userImgUrl = this.navParams.get('avatar');
    this.nickName = this.navParams.get('nickname');
    this.class = "软件181";
    this.qqNumber = this.navParams.get('qq');
  }

  ionViewDidLoad() {
  }

}
